<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">编　　号：</div>
			<div class="col-sm-8">{{product.id}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品名称：</div>
			<div class="col-sm-8">{{product.productName}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品类型：</div>
			<div class="col-sm-8">{{product.productTypeName}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品产地：</div>
			<div class="col-sm-8">{{product.productAddress}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品属地：</div>
			<div class="col-sm-8">{{product.productLocation}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品价格：</div>
			<div class="col-sm-8">{{product.productPrice}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">数　　量：</div>
			<div class="col-sm-8">{{product.productNum}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">描　　述：</div>
			<div class="col-sm-8">{{product.productDesc}}</div>
		</div>
	</div>
</li>
<li class="list-divider">产品审核</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">审核时间：</div>
			<div class="col-sm-8">{{HB_FORMAT_DATE product.dateCheck}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">当前状态：</div>
			<div class="col-sm-8">{{product.checkStatusName}}</div>
		</div>
	</div>
</li>
<li class="list-divider">审核历史</li>
{{#each product.productCheckList}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">审核时间：</div>
			<div class="col-sm-8">{{HB_FORMAT_DATE this.dateCreated}}</div>
		</div>
	</div>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">审核状态：</div>
			<div class="col-sm-8">{{this.checkStatusName}}</div>
		</div>
	</div>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">审核备注：</div>
			<div class="col-sm-8">{{this.remark}}</div>
		</div>
	</div>
</li>
{{else}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">当前状态：</div>
			<div class="col-sm-8">提交审核</div>
		</div>
	</div>
</li>
{{/each}}
<li class="list-divider">产品图片</li>
{{#each product.ids}}
<li style="padding:3px 3px 0px 3px;">
	<div class="divline">
		<img onerror="imgLoadError(this);" src="{{HB_GLOBAL_CONTEXT_PATH}}/assistant/image.html?id={{this}}" class="img-responsive img-rounded" style="max-width:100%;max-height:100%;" />
	</div>
</li>
{{else}}
<li>
	  <p>暂无图片</p>
</li>
{{/each}}
{{#unless product.closeStatus}}
	{{#if login}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-xs-12">
				<button type="button" id="update{{identify}}" class="btn btn-default btn-lg btn-block">更新信息</button>
			</div>
		</div>
		<script type="text/javascript">
			$('#update{{identify}}').click(function(e) {
				window.location.hash = '#userproductupdate&id={{product.id}}';
			});
		<{{!}}/script>
	</div>
</li>
<li>
	<div class="divline">
		<form id="overheadform{{identify}}" action="{{HB_GLOBAL_CONTEXT_PATH}}/product/doTopApply.html" method="post">
			<input type="hidden" name="overhead.refId" value="{{product.id}}">
			<input type="hidden" name="overhead.overheadType" value="{{product.saleType}}">
			<div class="form-group" style="margin-bottom:0px;">
				<div class="col-xs-12">
					<button type="button" id="overhead{{identify}}" class="btn btn-default btn-lg btn-block">申请顶置</button>
				</div>
			</div>
		</form>
		<script type="text/javascript">
			$('#overhead{{identify}}').click(function(e) {
				Global.confirm('确认申请顶置', function() {
					var $form = $('#overheadform{{identify}}').first();
					$.ajax({
						type: $form.attr('method'),
						url: $form.attr('action'),
						data: $form.serialize(),
						success: function(html) {
							$('#overheadform{{identify}}').closest('div.divline').html(html);
						}
					});
				});
				return false;
			});
		<{{!}}/script>
	</div>
</li>
		{{#if product.closeable}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-xs-12">
				<button type="button" id="closeproduct{{identify}}" class="btn btn-default btn-lg btn-block">关闭发布</button>
			</div>
		</div>
	</div>
</li>
		{{/if}}
	{{/if}}
{{/unless}}